﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Comparison
{
    class Program
    {
        static void Main(string[] args)
        {
            string comparison;
            Console.WriteLine("Enter the first number:");
            double Var1 = Convert.ToDouble(Console.ReadLine());
            Console.WriteLine("Enter the second number:");
            double Var2 = Convert.ToDouble(Console.ReadLine());
            if (Var1 < Var2) 
                comparison = "less than";
            else
            {
                if (Var1 == Var2)
                    comparison = "equal to";
                else
                    comparison = "greater than";
            }
            Console.WriteLine("The first number is {0} the second number.", comparison);
            Console.ReadKey();
        }
    }
}
